package edu.scau.pos.refund.mapper;

import edu.scau.pos.refund.domain.RefundRecord;
import edu.scau.pos.refund.domain.RefundRecordItem;
import edu.scau.pos.refund.vo.RefundRecordVo;

import java.util.List;

public interface RefundRecordMapper {
    RefundRecord getRefundRecordItemByRefundId(String refundId);
    int addCache(RefundRecord refundRecord);
    List<RefundRecordVo> listAll();
    int insertRefundRecordItem(RefundRecordItem refundRecordItem);
    int updateRefundRecord(RefundRecord refundRecord);
    int isExistRefundRecord(String refundId);
}
